package com.entity;


import org.apache.ibatis.type.Alias;

@Alias("BaseUser")
public class User extends BaseEntity {
	
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private String id;

	/**
	 * 用户姓名
	 */
	private String userName;

	/**
	 * 手机号码
	 */
	private String telephone;

	/**
	 * 企业名称
	 */
	private String company;
	
	/**
	 * 简介
	 */
	private String intro;

	/**
	 * 用户积分
	 */
	private Integer credit;

	/**
	 * 用户分类编号
	 */
	private String userTypeId;

	/**
	 * 登录编号
	 */
	private String loginId;
	
	//用户行业与类型内容
	
	/**
	 * 虚拟字段 用户类型
	 */
	private String userType;
	
	/**
	 * 虚拟字段 用户行业id
	 */
	private String userTradeId;
	
	/**
	 * 虚拟字段 用户行业
	 */
	private String userTrade;
	
	//附件内容

	/**
	 * 虚拟字段 文件id
	 */
	private String fileId;
	
	/**
	 * 虚拟字段 文件备注
	 */
	private String fileRemark;
	
	/**
	 * 附件名称
	 */
	private String fileName;
	
	/**
	 * 附件文件名
	 */
	private String fileFile;

	/**
	 * 附件后缀
	 */
	private String fileSuffix;

	/**
	 * 附件大小
	 */
	private Integer fileSize;

	/**
	 * 附件路径
	 */
	private String filePath;

	/**
	 * 附件其他路径
	 */
	private String fileTemp;

	/**
	 * 上传时间
	 */
	private String fileUploadTime;
	
	/**
	 * 附件状态（预留）
	 */
	private Integer fileState;
	
	/**
	 * 附件Id
	 */
	private String fileRelId;
	
	private boolean isDetail;

	public User () {
		super();
	}


	public User(String id, String userName, String telephone, String company,
			Integer credit, String userTypeId, String loginId) {
		super();
		this.id = id;
		this.userName = userName;
		this.telephone = telephone;
		this.company = company;
		this.credit = credit;
		this.userTypeId = userTypeId;
		this.loginId = loginId;
	}


	public String getUserType() {
		return userType;
	}

	
	public String getIntro() {
		return intro;
	}


	public void setIntro(String intro) {
		this.intro = intro;
	}


	public String getUserTradeId() {
		return userTradeId;
	}


	public String getFileRelId() {
		return fileRelId;
	}


	public void setFileRelId(String fileRelId) {
		this.fileRelId = fileRelId;
	}


	public boolean isDetail() {
		return isDetail;
	}


	public void setDetail(boolean isDetail) {
		this.isDetail = isDetail;
	}


	public void setUserTradeId(String userTradeId) {
		this.userTradeId = userTradeId;
	}


	public void setUserType(String userType) {
		this.userType = userType;
	}


	public String getUserTrade() {
		return userTrade;
	}


	public void setUserTrade(String userTrade) {
		this.userTrade = userTrade;
	}

	public String getFileId() {
		return fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}


	public String getFileRemark() {
		return fileRemark;
	}


	public void setFileRemark(String fileRemark) {
		this.fileRemark = fileRemark;
	}


	public String getFileName() {
		return fileName;
	}


	public void setFileName(String fileName) {
		this.fileName = fileName;
	}


	public String getFileFile() {
		return fileFile;
	}


	public void setFileFile(String fileFile) {
		this.fileFile = fileFile;
	}


	public String getFileSuffix() {
		return fileSuffix;
	}


	public void setFileSuffix(String fileSuffix) {
		this.fileSuffix = fileSuffix;
	}


	public Integer getFileSize() {
		return fileSize;
	}


	public void setFileSize(Integer fileSize) {
		this.fileSize = fileSize;
	}


	public String getFileUploadTime() {
		return fileUploadTime;
	}


	public void setFileUploadTime(String fileUploadTime) {
		this.fileUploadTime = fileUploadTime;
	}


	public Integer getFileState() {
		return fileState;
	}


	public void setFileState(Integer fileState) {
		this.fileState = fileState;
	}


	public String getFilePath() {
		return filePath;
	}


	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}


	public String getFileTemp() {
		return fileTemp;
	}


	public void setFileTemp(String fileTemp) {
		this.fileTemp = fileTemp;
	}


	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


	public String getUserName() {
		return userName;
	}


	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getTelephone() {
		return telephone;
	}


	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	
	public String getUserPortrait() {
		return fileId;
	}

	public void setUserPortrait(String userPortrait) {
		this.fileId = userPortrait;
	}


	public String getCompany() {
		return company;
	}


	public void setCompany(String company) {
		this.company = company;
	}


	public Integer getCredit() {
		return credit;
	}


	public void setCredit(Integer credit) {
		this.credit = credit;
	}


	public String getUserTypeId() {
		return userTypeId;
	}


	public void setUserTypeId(String userTypeId) {
		this.userTypeId = userTypeId;
	}


	public String getLoginId() {
		return loginId;
	}


	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}


	@Override
	public String toString() {
		return "User [id=" + id + ", userName=" + userName + ", telephone="
				+ telephone + ", company=" + company + ", credit=" + credit
				+ ", userTypeId=" + userTypeId + ", loginId=" + loginId + "]";
	}

}

